<template>
  <div>
    <van-search
      v-model="searchValue"
      @click="showPopup"
      disabled
      placeholder="请输入搜索关键词"
    />
  </div>
</template>

<script>
export default {
  name: 'SearchBox',
  data () {
    return {
      searchValue: '' // 搜索关键字
    }
  },
  methods: {
    showPopup () {
      this.$emit('showPopup')
    }
  }
}
</script>

<style>
</style>
